﻿using System.Web.Security;

namespace Data.Common
{
    public class ParseMD5String
    {
        public static string GetMD5Password(string password)
        {
            return !string.IsNullOrEmpty(password) ? FormsAuthentication.HashPasswordForStoringInConfigFile(password, "MD5") : null;
        }
    }
}